<!DOCTYPE HTML>
<html>
<head>
	<meta charset="<?php bloginfo('charset'); ?>">
	<?php if (is_home()): ?>
	<meta property="og:title" content="<?php wp_title(''); ?>" />
	<meta property="og:type" content="article" />
	<meta property="og:image" content="https://www.izwebz.com/wp-content/themes/izwebz-new/screenshot.jpg" />
	<meta property="og:url" content="https://www.izwebz.com" />
	<meta property="og:description" content="Trang web chuyên về Video Tutorial với các chủ đề như HTML, CSS, jQuery, PHP&amp;MySQL, Photoshop. Trực quan, dễ học và dễ hiểu." />
	<?php endif ?>
	<title><?php if (function_exists('is_tag') && is_tag()) {
	         single_tag_title("Tag Archive for &quot;"); echo '&quot; - '; }
	      elseif (is_archive()) {
	         echo wp_title('',false)." - "; }
	      elseif (is_search()) {
	         echo 'Search for &quot;'.wp_specialchars($s).'&quot; - '; }
	      elseif (!(is_404()) && (is_single()) || (is_page())) {
	         wp_title(''); echo ' - '; }
	      elseif (is_404()) {
	         echo 'Not Found - '; }
	      if (is_home()) {
	         bloginfo('name'); echo ' - '; bloginfo('description'); }
	      else {
	          bloginfo('name'); }
	      if ($paged>1) {
	         echo ' - page '. $paged; }
	   ?></title>
	<?php wp_head(); ?>

</head>
<body <?php body_class(); ?>>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'izwebz'; // required: replace example with your forum shortname

/* * * DON'T EDIT BELOW THIS LINE * * */
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = 'https://' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
<?php $this->render('menu',array('userID'=>$userID,'userProfile'=>$userProfile)); ?>
<div class="page-wrap">
<header class="wrapper">
	<section id="head">
		<a href="<?php echo home_url(); ?>" class="logo floatLeft"><img src="<?php echo CORE_THEME_IMAGE; ?>logo.png" alt="izwebz logo"></a>
		<a href="#main-nav" class="list floatRight open-menu">
			<?php //if(empty($userProfile)) : ?>
				<img src="<?php echo CORE_THEME_IMAGE; ?>icon-list.png" alt="Izwebz menu">
			<?php //else : ?>
				<!-- <img width="50" height="50" class="animateScale" src="https://graph.facebook.com/<?php echo $userProfile->user_id; ?>/picture?width=50&height=50" alt="Izwebz menu"> -->
			<?php //endif; ?>
		</a>
	    
	    <div class="clearfix"></div>
	</section>
	<!-- #head -->
	<section id="workPlace" <?php echo is_single() ? "class='videoPost'" : ""; ?>>
		<?php if($this->isViewBanner()) : ?>
			<?php
				$rand = rand(1,3);
				if ($rand == 1) {
					$a = 'https://www.izwebz.com/category/hosting-domain/';
					$i = 'slider-hosting';
				}elseif ($rand == 2) {
					$a = 'https://www.izwebz.com/category/video-tutorials/';
					$i = 'slider';
				}else{
					$a= 'https://www.izwebz.com/category/design-usability/';
					$i = 'slider-letdo';
				}
			?>
			<div class="slider">
				<a href="<?php echo $a; ?>" alt="Izwebz"><img src="<?php echo CORE_THEME_IMAGE; ?><?php echo $i; ?>.png" alt="Slider"></a>
			</div>
		<?php endif; ?>
		<!-- /.slider -->
		<?php if($this->isViewSearch()) $this->search(); ?>
	</section>
</header>
<!-- Header -->